<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<!-- bootstrap table js -->
<script src="../bootstrapTable/dist/bootstrap-table.js"></script>
<script src="../bootstrapTable/dist/locale/bootstrap-table-zh-CN.js"></script>
<script src="ship.js"></script>
<script src="common.js"></script>
<script src="1002/1002.js"></script>
</head>
<body>

		<div class="panel panel-primary">
			<div class="panel-heading">
				<h3 class="panel-title">申请单信息</h3>
			</div>

			<div class="panel-body">
				<form id="Business">
					<table class="table table-bordered">
					<tbody>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								报送机构：<span style="color:red;">*</span>
							</td>
							<td colspan="5">
    							<input style="width: 200px;" type="text" class="form-control" id="org" placeholder="请选择报送机构">
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								 项目名称：<span style="color:red;">*</span>
							</td>
							<td colspan="5">
								<input type="text" class="form-control" name="workname" placeholder="请输入作业名称">
								
								<input type="hidden" name="applytypecode" id="applytypecode">
							</td>
						</tr>
						<tr class="hidden_1005">
							<td style="width:130px; text-align: right; background-color: #eee; ">
								作业类型：<span style="color:red;">*</span>
							</td>
							<td>
								<select class="form-control" name="worktypecode" id="worktypecode" placeholder="请选择作业类型"></select>
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								作业方式：<span style="color:red;">*</span>
							</td>
							<td>
								<select class="form-control" name="workmethodcode" id="workmethodcode" placeholder="请选择作业方式"></select>
							</td>
							<td colspan="2">
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								作业位置：
							</td>
<!-- 							<td> -->
<!-- 								<select class="form-control" name="workpositioncode" id="workpositioncode"></select> -->
<!-- 							</td> -->

							<td colspan="5">
								<div class="row">
									<div class="col-lg-3">
										<select class="form-control" id="waterway" name="waterwaycode">
											<option>--请选择水道--</option>
										</select>
									</div>
									<div class="col-lg-3">
										<select class="form-control" id="mark" name="navigationmarkcode">									
											<option>--请选择航标--</option>
										</select>
									</div>
								</div>
								
								<div class="row" style="margin-top: 10px;">
									<div class="col-lg-11">
    									<textarea class="form-control" rows="2" name="workposition" placeholder="请输入作业位置"></textarea>
									</div>
									<div class="col-lg-1" style="height: 50px; line-height: 50px;">
										<span style="color:red;">*</span>
									</div>
								</div>
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								计划开工日期：<span style="color:red;">*</span>
							</td>
							<td>
								<input type="date" class="form-control" name="workbegintime" placeholder="请选择计划开工日期">
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								预计完工日期：<span style="color:red;">*</span>
							</td>
							<td>
								<input type="date" class="form-control" name="workendtime" placeholder="请选择预计完工日期">
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								预计完工天数：<span style="color:red;">*</span>
							</td>
							<td>
								<input type="number" class="form-control" name="days" placeholder="请输入完工天数">
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								建设单位：<span style="color:red;">*</span>
							</td>
							<td>
								<input type="text" class="form-control" name="buildunitname" placeholder="请输入建设单位">
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								建设单位联系人：
							</td>
							<td>
								<input type="text" class="form-control" name="buildcontactperson" placeholder="请输入建设单位联系人">
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								建设单位联系电话：
							</td>
							<td>
								<input type="text" class="form-control" name="buildcontactphone" placeholder="请输入建设单位联系电话">
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								施工单位：<span style="color:red;">*</span>
							</td>
							<td>
								<input type="text" class="form-control" name="workunitname" placeholder="请输入施工单位">
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								施工单位联系人：
							</td>
							<td>
								<input type="text" class="form-control" name="workcontactperson" placeholder="请输入施工单位联系人">
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								施工单位联系电话：
							</td>
							<td>
								<input type="text" class="form-control" name="workcontactphone" placeholder="请输入施工单位联系电话">
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								施工作业程序：
							</td>
							<td colspan="5">
    							<textarea class="form-control" rows="5" name="workstep" placeholder="如果不填写请上传附件"></textarea>
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								应急措施：
							</td>
							<td colspan="5">
    							<textarea class="form-control" rows="2" name="emergentstep" placeholder="如果不填写请上传附件"></textarea>
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								地点范围：<span style="color:red;">*</span>
							</td>
							<td colspan="3">
    							<table class="table table-bordered" style="text-align: center;" id="coordinate">
								  <thead>
								    <tr>
								      <th style="text-align: center; width:10%;">序号</th>
								      <th style="text-align: center; width:30%;">经纬度区分</th>
								      <th style="text-align: center; width:15%;">度</th>
								      <th style="text-align: center; width:15%;">分</th>
								      <th style="text-align: center; width:15%;">秒</th>
								      <th style="text-align: center; width:10%;">删除</th>
								    </tr>
								  </thead>

								</table>
								<div style="float: right;">
								<button id="coordinateAdd" type="button" class="btn btn-success"><span class="glyphicon glyphicon-plus"></span>添加坐标</button>
								<button id="coordinateCreate" type="button" class="btn btn-primary"><span class="glyphicon glyphicon-chevron-right"></span>生成地点范围</button>
								</div>
							</td>
							<td colspan="2">
    							<textarea class="form-control" rows="6" id="workarea" name="workarea" placeholder="请输入地点范围" style="height: 100%;"></textarea>
							</td>
						</tr>
						<tr>
							<td colspan="6">
				 				<table class="table table-bordered" style="text-align: center;" id="device">
									<thead>
									  <tr>
									    <th style="text-align: center; width:25%;">设备名称</th>
									    <th style="text-align: center; width:70%;">主要技术参数</th>
									    <th style="text-align: center; width:5%;">操作</th>
									  </tr>
									</thead>
									<tbody class="deviceForm_0  deviceForm"> 
										<tr class="tr_0"> 
											<td><input class="form-control" name="devicename" placeholder="请输入设备名称(如无可不填写)" no="N" /></td> 
											<td><input class="form-control" name="summary" placeholder="请输入主要技术参数(如无可不填写)" no="N" /></td>
											<td></td>
										</tr>
									</tbody>
								</table>
								<div style="float: right;">
									<button id="deviceAdd" type="button" class="btn btn-success"><span class="glyphicon glyphicon-plus"></span>添加</button>
								</div>
			 				</td>
							<!-- <td style="width:130px; text-align: right; background-color: #eee; ">
								设备名称：
							</td>
							<td>
    							<textarea class="form-control" rows="4" name="devicename" placeholder="请输入设备名称"></textarea>
    							<input class="form-control" name="devicename" placeholder="请输入设备名称（如无可不填写）"/>
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								主要技术参数：
							</td>
							<td colspan="3">
    							<textarea class="form-control" rows="4" name="technicalparameter" placeholder="请输入主要技术参数"></textarea>
								<input class="form-control" name="technicalparameter" placeholder="请输入主要技术参数（如无可不填写）"/>
							</td> -->
						</tr>
					</tbody>
					</table>
	            </form>
			</div>
		</div>
		

		<form class="form-horizontal" id="ShipList">
			<div class="panel panel-primary">
			    <div class="panel-heading">
					主要施工船舶
					
					<button id="selectShip" type="button" class="btn btn-success" style="height:30px; float: right;"><span class="glyphicon glyphicon-plus"></span>添加船舶</button>
			    </div>
			    <table class="table" id="TableShip" style="text-align: center;">
			    	<thead>
			    	<tr>
				        <th style="text-align: center; ">船舶识别号</th>
				        <th style="text-align: center; ">中文船舶名称</th>
				        <!-- <th style="text-align: center;">校验</th> -->
				        <!-- <th style="text-align: center;">主要技术参数</th> -->
				        <th style="text-align: center; width: 80px;">删除行</th>
			        </tr>
			        </thead>
				<tbody>

				</tbody>
				</table>
			</div>
        </form>
        
        
        
        <div class="modal fade" id="modalCheck" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content" style="width: 800px; height: 600px; overflow:auto;">
			  <div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">校验信息</h4>
				</div>
				
				<div class="modal-body" id="checkinfo">
					<table class="table" id="certShip">
						<caption>法定证书校验</caption>
						<thead>
							<tr>
								<th style="text-align: center;width:35%">校验内容</th>
								<th style="text-align: center;width:10%">校验结果</th>
								<th style="text-align: center;width:55%">结果详情</th>
							</tr>
						</thead>
						</tbody>
					</table>
					
					<table class="table" id="fsc">
						<caption>船舶安检信息校验</caption>
						<thead>
							<tr>
								<th style="text-align: center;width:35%">校验内容</th>
								<th style="text-align: center;width:10%">校验结果</th>
								<th style="text-align: center;width:55%">结果详情</th>
							</tr>
						</thead>
						</tbody>
					</table>
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal -->
	</div>
</body>
</html>